{temp('kefu/head')}
</head>
<body>
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i>首页
		<span class="c-gray en">&gt;</span>审核管理
		<span class="c-gray en">&gt;</span>企业列表
		<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
			<i class="Hui-iconfont">&#xe68f;</i>
		</a>
	</nav>
	<div class="pd-20">
		<div class="mt-20">
			<table class="table table-border table-bordered table-bg table-hover table-sort">
				<thead>
					<tr class="text-c">
						<th width="50">用户ID号</th>
						<th>用户名</th>
						<th width="150">上次登录时间</th>
						<th width="150">注册时间</th>
						<th width="100">状态</th>
						<th width="100">类型</th>
						<th width="120">操作</th>
					</tr>
				</thead>
				<tbody>
					{foreach($rs as $k => $v)}
					<tr class="text-c">
						<td>{$v['id']}</td>
						<td>{$v['name']}</td>
						<td>{code(echo date('Y-m-d H:i:s',$v['dltime']))}</td>
						<td>{code(echo date('Y-m-d H:i:s',$v['time']))}</td>
						<td>{if($v['zt'] == 1)}激活{elseif($v['zt'] == 2)}冻结{else}未激活{/if}</td>
						<td>{if($v['lx'] == 1)}vip{else}普通{/if}</td>
						<td class="f-14 td-manage">
							<button class="btn btn-primary radius" style="height:30px;background-color:#6b6b6b;border-color:#6b6b6b;" 
							onClick="article_edit('课程','{$_url}/kefu/?act=shenhe&met=qyxx&id={$v['id']}')">
							查看
							</button>
						</td>
					</tr>
					{/foreach}
				</tbody>
			</table>
		</div>
	</div>
	{temp('kefu/foot')}
	<script type="text/javascript">
	$('.table-sort').dataTable({
		"aaSorting": [[ 1, "desc" ]],//默认第几个排序
		"bStateSave": true,//状态保存
	});
	
	/*资讯-编辑*/
	function article_edit(title,url,id,w,h){
		var index = layer.open({
			type: 2,
			title: title,
			content: url
		});
		layer.full(index);
	}
	</script>
</body>
</html>